import { http } from "@/utils/axios";
import type { BannerItem } from "@/types/home";
export const reqSwiper = (categoryId: number | string) => {
  console.log(categoryId);

  return http<BannerItem[]>({
    url: `/swapper/${categoryId}`,
    method: "GET",
  });
};
